package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 大厦商户关系
 * @Author: jeecg-boot
 * @Date:   2023-10-24
 * @Version: V1.0
 */
@Data
@TableName("hc_address_merchant_relation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hc_address_merchant_relation对象", description="大厦商户关系")
public class HcAddressMerchantRelation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**大厦ID*/
	@Excel(name = "大厦ID", width = 15)
    @ApiModelProperty(value = "大厦ID")
    private String addressDetailsId;
    /**大厦ID*/
    @TableField(exist = false)
    @ApiModelProperty(value = "大厦")
    private String addressDetailsName;
	/**商户ID*/
	@Excel(name = "商户ID", width = 15)
    @ApiModelProperty(value = "商户ID")
    private String merchantId;
	/**默认开启供餐*/
	@Excel(name = "默认开启供餐", width = 15)
    @ApiModelProperty(value = "默认开启供餐")
    private String isOpen;
	/**供餐开始时间*/
	@Excel(name = "供餐开始时间", width = 15)
    @ApiModelProperty(value = "供餐开始时间")
    private String provideStartTime;
	/**供餐结束时间*/
	@Excel(name = "供餐结束时间", width = 15)
    @ApiModelProperty(value = "供餐结束时间")
    private String provideEndTime;
}
